//
//  YTRegisterViewModel.h
//  YiTuDriverClient
//
//  Created by 石少庸 on 2017/5/3.
//  Copyright © 2017年 Yitu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YTRegisterViewModel : YTViewModel

@property (copy, nonatomic) NSString *phoneNum;
@property (copy, nonatomic) NSString *password;
@property (assign, nonatomic) BOOL isChecked;
@property (copy, nonatomic) NSString *verifyCode;
@property (copy, nonatomic) NSString *areaCode;
@property (copy, nonatomic) NSString *isChina;
@property (copy, nonatomic) NSString *inviteCode;

// command
@property (strong, nonatomic) RACCommand *sendVerifyCommand;
@property (strong, nonatomic) RACCommand *registerCommand;

// signals
@property (strong, nonatomic, readonly) RACSignal *phoneValidate;
@property (strong, nonatomic, readonly) RACSignal *passwordValidate;
@property (strong, nonatomic, readwrite) RACSignal *allValidate;
@property (strong, nonatomic, readonly) RACSignal *verifyValidate;

@end
